package chuishop.yiqimaicai.mapper;

import chuishop.yiqimaicai.pojo.Complaint;

import java.util.List;

public interface ComplaintMapper {


    //查询所有
    List<Complaint> findAllComplaint();

    //查询
    List<Complaint> findComplaintById(Integer cid);

    //删除功能
    int delComplaint(String[] ids);

    //添加功能
    int addComplaint(Complaint complaint);
    //修改更新功能
    int updateComplaint(Complaint complaint);
}
